<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>library</title>
</head>
<body>

    <h1>图书详情</h1>
    <h2>{{ book_one.title }}</h2>
    <h3>人物列表</h3>
    <ul>
        {% for hero_one in book_one.hero_set.all %}
            <li>{{ hero_one.name }}</li>
        {% endfor %}
    </ul>
    <a href="../all"><h2>首页</h2></a>
</body>
</html>